//
//  PutForwardViewController.m
//  跨界收
//
//  Created by Allen on 2018/10/27.
//  Copyright © 2018年 gztx. All rights reserved.
//

#import "PutForwardViewController.h"
#import "BankListViewController.h"
#import "AddBankCardViewController.h"

@interface PutForwardViewController ()

@property (weak, nonatomic) IBOutlet UITextField *moneyTextField;
@property (weak, nonatomic) IBOutlet UILabel *bankLabel;
@property (weak, nonatomic) IBOutlet UILabel *forwardLabel;
@property (weak, nonatomic) IBOutlet UIButton *forwardBtn;
@property (weak, nonatomic) IBOutlet UILabel *shuomingBtn;
@property (weak, nonatomic) IBOutlet UITextView *shuomingTextView;

@end

@implementation PutForwardViewController
- (IBAction)updateBank:(id)sender {
    AddBankCardViewController *addVC = [[AddBankCardViewController alloc] initWithNibName:@"AddBankCardViewController" bundle:nil];
    [self.navigationController pushViewController:addVC animated:YES];
}
- (void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
    self.navigationController.navigationBarHidden = NO;
}
- (IBAction)submit:(id)sender {
    [self.navigationController popToViewController:self.navigationController.viewControllers[0] animated:YES];
}
- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"提现";
    UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(tap:)];
    [self.bankLabel addGestureRecognizer:tap];
    // Do any additional setup after loading the view from its nib.
}
- (void)tap:(UITapGestureRecognizer *)tap
{
    BankListViewController *bankVC = [[BankListViewController alloc]initWithNibName:@"BankListViewController" bundle:nil];
    [self.navigationController pushViewController:bankVC animated:YES];
}

@end
